package com.sharding.jdbc.demo.mapper;

import com.sharding.jdbc.demo.entity.TableOne;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TableOneMapper {

    List<TableOne> selectOneByPhone(@Param("phone") String phone) ;

    int insert(TableOne record);

}